<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>使用浮动进行布局</title>
  <link rel="stylesheet" href="position.css">
</head>

<body>
  <header>
    <nav>
      <ul>
        <li><a href="../01/index.html">第一次作业</a></li>
        <li><a href="../02/html.html">第二次作业</a></li>
        <li><a href="../03/position.html">第二次作业</a></li>
        <li><a href="../index.html">返回首页</a></li>
      </ul>
    </nav>
  </header>
  <main>
    <div id="head">头部</div>
    <div id="main">
      <div id="left">左侧</div>
      <div id="right">右侧</div>
    </div>
  </main>
  <div style="clear:both"></div>
  <footer><span>学号：xxx </span><span>姓名：xxx </span><span>班级：2018级广告学2班 </span></footer>

</body>

</html>
